//
//  PublishPreviewJSObject.m
//  TryShopping
//
//  Created by LiYinDi on 16/6/16.
//  Copyright © 2016年 RuiBen. All rights reserved.
//

#import "PublishPreviewJSObject.h"

@implementation PublishPreviewJSObject
+ (instancetype)getData:(NSString *)_title _author:(NSString *)_author _date:(NSString *)_date _preCode:(NSString *)_preCode _afterCode:(NSString *)_afterCode _items:(NSMutableDictionary *)_items
{
    PublishPreviewJSObject *modal = [[PublishPreviewJSObject alloc] init];
    modal.title = _title;
    modal.author = _author;
    modal.date = _date;
    modal.preCode = _preCode;
    modal.afterCode = _afterCode;
    modal.items = _items;
    
    return modal;

}
@end
